/*
 * @Author: wuqingchun
 * @Date: 2024-07-29 14:27:48
 * @Description: 
 * @LastEditors: wuqingchun
 * @LastEditTime: 2024-07-31 16:29:01
 */
#ifndef __EVENT_H__
#define __EVENT_H__

#include "ev_struct.h"

EV_EVENT_S* EV_event_Create(EV_DISPATCHER_S* pstDP, int iEventFd, unsigned int uiFlags, void (*pfCallback)(int, void*), void* pCBArg);
void EV_event_Destroy(EV_EVENT_S* pstEvent);
int EV_event_GetFd(EV_EVENT_S* pstEvent);

#define EV_event_GetSignal(ev) EV_event_GetFd(ev)

#endif //__EVENT_H__